package com.summer.common;

public class OperateThreadLocal {
    private final static ThreadLocal<Object> localThread = new ThreadLocal<>();

    public static void setLocalThreadAttribute(Long id){
        localThread.set(id);
    }

    public static Long getLocalThreadAttribute(){
        return (Long) localThread.get();
    }

}
